package com.yuma.springshiroredisthymeleaf.service;

import com.yuma.springshiroredisthymeleaf.entity.Goods;

import java.sql.SQLException;
import java.util.List;

public interface GoodsService {
    Goods selectById(Integer id) throws SQLException;
    Goods selectById2(Integer id) throws SQLException;
    Goods selectById3(Goods goods) throws SQLException;
    Goods selectById4(Goods goods) throws SQLException;
    Integer insertSelective(Goods goods) throws  SQLException;
    Integer updateSelective(Goods goods) throws SQLException;
    List<Goods> selectByCondition(Goods goods) throws SQLException;
    int deleteByIds(List<Integer> ids) throws SQLException;
    int deleteById(Integer id);
}
